**# Bookmark #1 Setting

*Windows
global root  = "G:/Dropbox/Environmental Injustice/Empirical"
global rawdata = "$root/rawdata"
global workdata = "$root/workdata"
global results = "$root/results"
global outfile = "$root/outfile"

cd "$workdata"

**# Bookmark #2 
use "$outfile/Table S24.dta",clear

reghdfe ratio_community i.lowedu5##i.post, absorb(i.cityid) cluster(i.province i.wave)
outreg2 using "$results/Table S24.xls",replace ctitle(Community-level Tap Water Coverage) bdec(3) tdec(3) rdec(3)

reghdfe ratio_community i.lowedu5##i.post, absorb(i.cityid i.wave) cluster(i.province i.wave)
outreg2 using "$results/Table S24.xls",append ctitle(Community-level Tap Water Coverage) bdec(3) tdec(3) rdec(3)

reghdfe ratio_community i.lowedu5##i.post, absorb(i.cityid#i.wave) cluster(i.province i.wave)
outreg2 using "$results/Table S24.xls",append ctitle(Community-level Tap Water Coverage) bdec(3) tdec(3) rdec(3)


